package com.kunbo.cn.service.core.poundlist;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import org.springframework.data.domain.Page;

import com.kunbo.cn.entity.core.poundlist.PurchasePoundList;
import com.kunbo.cn.util.retu.CommonResult;
import com.kunbo.cn.util.retu.Pages;

public interface PurchasePoundListService {
	void receiveConfirm(PurchasePoundList t);
	Map<String,Object> save(String type,Double weight);
	Map<String,Object> update(String type,String jsonStr);
	void delete(String id);
	PurchasePoundList findById(String id);
	PurchasePoundList findByIDNumber(String iDNumber,String state);
	PurchasePoundList sel(String idCard);
	Page<PurchasePoundList> findByPplPage(PurchasePoundList ppl, Integer pageNum, Integer pageSize);
	public List<Map<String,Object>>PoundList(String start_time,String end_time,String supplier,String cgPoundNumber,String netWeight,String receivingUnit,String arrivalOfGoodsNumber,String matter_type,String materiel,String wagonNumber,Integer page,Integer pageSize);
	public Pages PoundList1(String start_time,String end_time,String supplier,String cgPoundNumber,String netWeight,String receivingUnit,String arrivalOfGoodsNumber,String matter_type,String materiel,String wagonNumber,Integer page,Integer pageSize);
	public Object[][]PoundListExport(String start_time,String end_time,String supplier,String cgPoundNumber,String netWeight,String receivingUnit,String arrivalOfGoodsNumber,String matter_type,String materiel,String wagonNumber);
	public void PoundListExports(String start_time,String end_time,String supplier,String cgPoundNumber,String netWeight,String receivingUnit,String arrivalOfGoodsNumber,String matter_type,String materiel,String wagonNumber,HttpServletResponse response);

	public List<Map<String,Object>>findOne(String uuid);
	public void supplementaryIncrease(String jsonstr);
	List<Map<String,Object>>getNoticeInfo();
	List<Map<String,Object>>carDrivers();
	CommonResult selOrderCode(String startTime, String endTime, String supplier2, 
			String material, String orderCode, Integer page, Integer pageSize);
	CommonResult showOhterMes(String orderCode);
}
